package com.fg.pro.model.feign;


import com.fg.pro.model.sys.dto.SysUserDto;
import com.fg.pro.model.sys.entity.SysUser;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("fg-service-sys")
public interface SysFeignClient {

    @Operation(summary = "获取用户", description = "id")
    @GetMapping("/sysUser/feignGetById")
    public SysUserDto feignGetById(@RequestParam String id);

}
